package com.ruoyi.ihome.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帖子标签管理对象 ih_topic_tag
 * 
 * @author ruoyi
 * @date 2024-08-16
 */
public class IhTopicTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签id */
    @Excel(name = "标签id")
    private Long id;

    /** 标签名 */
    @Excel(name = "标签名")
    private String tagName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagName", getTagName())
            .toString();
    }
}
